package org.methodbox.extractor;

/**
 *
 * @author Christian
 */
public class ExtractorException extends Exception {

    /**
     * Constructs an instance of <code>ExtractorException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public ExtractorException(String msg) {
        super(msg);
    }

    /**
     * Constructs an instance of <code>ExtractorException</code> around the specified exceptione.
     * @param ex The exception being wrapped.
     */
    public ExtractorException(Exception ex) {
        super(ex.getMessage());
    }
    
}
